package com.cnhis.cloudhealth.clinical.hosnurse.hosexpense.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.cnhis.cloudhealth.commons.Mappers.ModelVo;
import com.cnhis.cloudhealth.commons.dao.BaseDao;
import com.cnhis.cloudhealth.commons.utils.Page;
@Repository
public class HosExpenseDao extends BaseDao{
	 public Page adviceKeepAccounts(Map map,int currPage,int pageSize)throws Exception{
		 return queryForPage("HosExpense.adviceKeepAccounts", map,currPage,pageSize);
	 }
	 public List accountOptions()throws Exception{
		 return queryForList("HosExpense.accountOptions", null);
	 }
	 public List  feeStatisticsType()throws Exception{
		 return queryForList("HosExpense.feeStatisticsType", null);
	 }
	 public int getlVAE44(Map map)throws Exception{
		 return (int) queryForExtObject("HosExpense.getlVAE44", map);
	 }
	 public int checkExpense(Map map)throws Exception{
		 return (int) queryForExtObject("HosExpense.checkExpense", map);
	 }
	 public List checkExpenseGuardLine(Map map)throws Exception{
		 return queryForList("HosExpense.checkExpenseGuardLine", map);
	 }
	 public List excludedOffice(Map map)throws Exception{
		 return queryForList("HosExpense.excludedOffice", map);
	 }
	 public String getABC02(Map map)throws Exception{
		 return (String) queryForExtObject("HosExpense.getABC02", map);
	 }
	 public Page medicalAdviceFeeDetail(Map map,int currPage,int pageSize)throws Exception{
		 return queryForPage("HosExpense.medicalAdviceFeeDetail", map, currPage, pageSize);
	 }
	 public Page feeDetailStatistics(Map map,int currPage,int pageSize)throws Exception{
		 return queryForPage("HosExpense.feeDetailStatistics", map, currPage, pageSize);
	 }
	 public Page dayTypeStatistics(Map map,int currPage,int pageSize)throws Exception{
		 return queryForPage("HosExpense.dayTypeStatistics", map, currPage, pageSize);
	 }
	 public Page dayBillStatistics(Map map,int currPage,int pageSize)throws Exception{
		 return queryForPage("HosExpense.dayBillStatistics", map, currPage, pageSize);
	 }
	 public Page monthTypeStatistics(Map map,int currPage,int pageSize)throws Exception{
		 return queryForPage("HosExpense.monthTypeStatistics", map, currPage, pageSize);
	 }
	 public Page typeStatistics(Map map,int currPage,int pageSize)throws Exception{
		 return queryForPage("HosExpense.typeStatistics", map, currPage, pageSize);
	 }
	 public Page subitemStatistics(Map map,int currPage,int pageSize)throws Exception{
		 return queryForPage("HosExpense.subitemStatistics", map, currPage, pageSize);
	 }
	 public List medicalAdviceValuation(Map map)throws Exception{
		 return queryForList("HosExpense.medicalAdviceValuation", map);
	 }
	 
	 public List othersAdviceValuation(Map map)throws Exception{
		 return queryForList("HosExpense.othersAdviceValuation", map);
	 }
	 public List herbAdviceValuation(Map map)throws Exception{
		 return queryForList("HosExpense.herbAdviceValuation", map);
	 }
	 public String getValue177()throws Exception{
		 return (String) queryForExtObject("HosExpense.getValue177", null);
	 }
	 public List validationAdviceValuation(Map map)throws Exception{
		 return queryForList("HosExpense.validationAdviceValuation", map);
	 }
	 
	 public List tempAdviceValuation(Map map)throws Exception{
		 return queryForList("HosExpense.tempAdviceValuation", map);
	 }
	 public int params1(Map map)throws Exception{
		 int re = (int) queryForExtObject("HosExpense.params1", map);
		 return re;
	 }
	 
	 public int params2(Map map)throws Exception{
		 return (int) queryForExtObject("HosExpense.params2", map);
	 }
	 public int params3(Map map)throws Exception{
		 return (int) queryForExtObject("HosExpense.params3", map);
	 }
	 public int params4(Map map)throws Exception{
		 return (int) queryForExtObject("HosExpense.params4", map);
	 }
	 public int params5(Map map)throws Exception{
		 return (int) queryForExtObject("HosExpense.params5", map);
	 }
	 public List getAutoItem(Map map)throws Exception{
		 return queryForList("HosExpense.getAutoItem", map);
		 
	 }
	 
	 public List tempVAA1(Map map)throws Exception{
		 return queryForList("HosExpense.tempVAA1", map);
	 }
	 public List tempPAT(Map map)throws Exception{
		 return queryForList("HosExpense.tempPAT", map);
	 }
	 public int getkbmvaj(Map map)throws Exception{
		 return (int) queryForExtObject("HosExpense.getkbmvaj", map);
	 }
	 
	 public List getTempB(Map map)throws Exception{
		 return queryForList("HosExpense.getTempB", map);
	 }
	 public List getTempPat(Map map)throws Exception{
		 return queryForList("HosExpense.getTempPat", map);
	 }
	 
	 public void updateVAI2_VAJ2(Map map)throws Exception{
		 update("HosExpense.updateVAI2_VAJ2", map);
	 }
	 public List getTmp_Pat(Map map)throws Exception{
		 return queryForList("HosExpense.getTmp_Pat", map);
	 }
	 public int checkVBM1(Map map)throws Exception{
		 return (int) queryForExtObject("HosExpense.checkVBM1", map);
	 }
	 public int checkVBM2(Map map)throws Exception{
		 return (int) queryForExtObject("HosExpense.checkVBM2", map);
	 }
	 public void insertVBM1(Map map)throws Exception{
		 insert("HosExpense.insertVBM1", map);
	 }
	 public void insertVBM2(Map map)throws Exception{
		 insert("HosExpense.insertVBM2", map);
	 }
	 public void updateVDC1(Map map)throws Exception{
		 update("HosExpense.updateVDC1", map);
	 }
	 public String param406()throws Exception{
		 return (String) queryForExtObject("HosExpense.param406", null);
	 }
	 public List itemTree()throws Exception{
		 
		 return queryForList("HosExpense.itemTree", null);
	 }
}
